#ifndef SELECTCOLLECT_H
#define SELECTCOLLECT_H

#include <QWidget>
#include<QListWidgetItem>
#include<selectcollectitem.h>
namespace Ui {
class selectcollect;
}

class selectcollect : public QWidget
{
    Q_OBJECT

public:
    explicit selectcollect(QWidget *parent = nullptr);
    ~selectcollect();
    QString collectname;
    void addselectitem(QListWidgetItem*li,selectcollectitem* si);
private slots:
    void on_pushButton_clicked();

    void on_listWidget_currentRowChanged(int currentRow);

    void on_pushButton_2_clicked();
signals:
    void addonevideotocollect(QString name);   //用户已将一个视频添加到指定的收藏夹中
private:
    Ui::selectcollect *ui;
};

#endif // SELECTCOLLECT_H
